package org.datascooter.annotations;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Purposed for mark object which id must be saved as field in database
 * 
 * @author nemo
 * 
 */
@Target({
		METHOD, FIELD
})
@Retention(RUNTIME)
public @interface AReference {

	String attributeName() default "";

	String fieldName() default "";

	boolean embedded() default false;

	boolean fetchLazy() default false;
}
